เซ็นเซอร์วัดอุณหภูมิ Digital Temperature Sensor Module KY-028
รายละเอียดสินค้า
KY-028 DIGITAL TEMPERATURE SENSOR MODULE
Digital Temperature Sensor KY-028 for Arduino, it measures temperature changes based on the thermistor resistance. This module has both digital and analog outputs, there's a potentiometer to adjusts the detection threshold on the digital interface.
KY-028 Specifications
The KY-028 consist of a of a NTC thermistor, a LM393 dual differential comparator a 3296W trimmer potentiometer, six resistors and two indicator LEDs. The board features an analog and a digital output.
Operating Voltage 3.3V to 5.5V
Temperature measurement range -55C to 125C [-67F to 257F]
Measurement Accuracy 0.5C
Board Dimensions 15mm x 36mm [0.6in x 1.4in]
KY-028 Arduino
A0 A0
G GND
+ 5V
D0 2
int led = 13; // define the LED pin
int digitalPin = 2; // KY-028 digital interface
int analogPin = A0; // KY-028 analog interface
int digitalVal; // digital readings
int analogVal; //analog readings
void setup()
{
pinMode(led, OUTPUT);
pinMode(digitalPin, INPUT);
//pinMode(analo...